import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'

Vue.use(VueRouter)

const routes = [{
  path: '/',
  name: 'Home',
  component: Home
},
{
  path: '/about',
  name: 'About',
  component: () => import('../views/About.vue')
},
{
  path: '/login',
  name: 'Login',
  component: () => import('../views/Login.vue')
},
{
  path: '/personal',
  name: 'Personal',
  component: () => import('../views/Personal.vue')
},
{
  path: '/site',
  name: 'Site',
  component: () => import('../views/Site.vue')
},
{
  path: '/hotel',
  name: 'Hotel',
  component: () => import('../views/Hotel.vue')
},
{
  path: '/product',
  name: 'Product',
  component: () => import('../views/Product.vue')
},
{
  path: '/activity',
  name: 'Activity',
  component: () => import('../views/Activity.vue')
},
{
  path: '/line',
  name: 'Line',
  component: () => import('../views/Line.vue')
},
{
  path: '/ich',
  name: 'Ich',
  component: () => import('../views/Ich.vue')
},
{
  path: '/announcement',
  name: 'Announcement',
  component: () => import('../views/Announcement.vue')
},
{
  path: '/manage',
  name: 'Manage',
  component: () => import('../views/Manage.vue')
},
{
  path: '/feedback',
  name: 'Feedback',
  component: () => import('../views/Feedback.vue')
}
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
